package cn.yunyichina.provider.order.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import cn.yunyichina.provider.framework.annotation.MyBatisRepository;
import cn.yunyichina.provider.framework.mvc.dao.BaseDao;

/**
 * Created by Lullaby on 2017/1/12.
 */
@Repository
@MyBatisRepository
public interface OrderDao extends BaseDao {
    List<Map<String, Object>> selectBoneOrder(Map<String, Object> params);

    List<Map<String, Object>> selectBoneOrderAndOrderForUserId(@Param("userId") String userId);

    List<Map<String, Object>> selectBoneOrderAndOrderForDoctorId(@Param("doctorId") String doctorId , @Param("doctorType") String doctorType);

    Long selectBoneOrderCount(Map<String, Object> params);

    Map<String, Object> getBoneOrder(Map<String, String> params);

    Map<String, Object> getBoneOperationOrderByDepositOrderNo(Map<String, String> params);
}
